﻿using System;

namespace edowork.com.Model
{
    #region rulemenuInfo

    [Serializable]
    public class rulemenuInfo
    {
        #region Private fields

        protected string _rulegroupid = String.Empty;
        protected string _menuid = String.Empty;
        protected string _stu1 = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public rulemenuInfo() { }

        #region Public Properties

        public string Rulegroupid
        {
            get { return _rulegroupid; }
            set { _rulegroupid = value; }
        }

        public string Menuid
        {
            get { return _menuid; }
            set { _menuid = value; }
        }

        public string Stu1
        {
            get { return _stu1; }
            set { _stu1 = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into rulemenu(Rulegroupid,Menuid,Stu1,Sysdate) values('{0}','{1}','{2}','{3}')";
        }

        #endregion

    }

    #endregion
}

